;+
;replace all instances of a ? with each the new filters names
;
;
;-

pro replace_allnew, string1, st_m1=st_m1, st_m2=st_m2, st_m3=st_m3,$
	st_p1=st_p1, st_p2=st_p2, st_p3=st_p3
all_new=['J', 'H', 'K', 'SDSS'+['u', 'g', 'r', 'i', 'z'], $
	'johnson'+['U', 'B','V','R','I']]
split=strsplit(string1, '?',/extract)

for i=0, n_elements(all_new)-1 do begin
  if keyword_set(st_m3) then print, st_m3
  if keyword_set(st_m2) then print, st_m2
  if keyword_set(st_m1) then print, st_m1
  print, strjoin(split, all_new[i])
  if keyword_set(st_p1) then print, st_p1
  if keyword_set(st_p2) then print, st_p2
  if keyword_set(st_p3) then print, st_p3
endfor






end
